<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>



<s:form id="updateForm" theme="bootstrap" cssClass="form-horizontal"
	label="Form Data Siswa">
	<div class="row-fluid">
		<div class="span12">
			<s:hidden name="id" value="%{user.id}"></s:hidden>
			<s:textfield label="Username" name="userName" id="userName"
				cssClass="input-xlarge" value="%{user.userName}"/>

			<s:textfield label="Password" name="password" id="password"
				cssClass="input-xlarge" value="%{user.password}"/>
		</div>
	</div>
</s:form>

<s:url id="urlUpdate" action="modul/user/crud/update" />

<sj:a id="update" href="%{urlUpdate}" cssClass="btn"
	formIds="updateForm" onBeforeTopics="clearTarget"
	targets="resultTarget" onSuccessTopics="reloadPaging"
	onClickTopics="buttonClick">Update</sj:a>